package com.woniuxy.user.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AddEmployeeVo {
    private Integer id;
    private String uname;
    private String password;
    private String name;
    private String phone;
    private Integer rid;
    private Integer did;
    private Integer oldDid;
    public AddEmployeeVo(RegisterVo registerVo){
        this.uname = registerVo.getUname();
        this.password = registerVo.getPassword();
        this.name = registerVo.getName();
        this.phone = registerVo.getPhone();
        this.rid = registerVo.getRid();
        this.did = registerVo.getDid();
    }
}
